import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useChannelStore = defineStore('channel', () => {
  const channelID = ref(0)
  const changeID = (id: number) => {
    channelID.value = id
  }

  return { channelID, changeID }
})
